/*
 * Copyright (C) 2008-2010 Trinity <http://www.trinitycore.org/>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 */

#ifndef OUTDOOR_PVP_EI_
#define OUTDOOR_PVP_EI_

#include "OutdoorPvPImpl.h"

/*#define OutdoorPvPEIBuffZonesNum 2 
                                                         
const uint32 OutdoorPvPEIBuffZones[OutdoorPvPEIBuffZonesNum] = {14, 368};

enum OutdoorPvPEISpells // TODO
{
    AllianceTeamBuff = 32071,
    HordeTeamBuff = 32049
};

enum OrbStatus
{
    EI_NEUTRAL = 0,
    EI_ALLIANCE = 1,
    EI_HORDE = 2
};

const go_type EIOrb[3] = {
    {202020,1,-1135.380,-5571.182,9.90,1.54,0,0,1,0},  // Neutral / Attackable
    {202021,1,-1135.380,-5571.182,9.90,1.54,0,0,1,0},  // Alliance Controlled
    {202022,1,-1135.380,-5571.182,9.90,1.54,0,0,1,0}  // Horde Controlled
};

static uint32 m_ControlOrb;
static uint32 hguid;
static uint32 aguid;

class OutdoorPvPEI : public OutdoorPvP
{
public:
    OutdoorPvPEI();
    bool SetupOutdoorPvP();
    void HandlePlayerEnterZone(Player *plr, uint32 zone);
    void HandlePlayerLeaveZone(Player *plr, uint32 zone);
    bool HandleOpenGo(Player *plr, uint64 guid);
    bool Update(uint32 diff);
    //void HandleKillImpl(Player * plr, Unit * killed);
private:
    //uint32 m_ControlOrb;
    uint32 neutral_guid;
    //uint32 hguid;
    //uint32 aguid;

    uint32 attack_timer;
};
*/
#endif

